class CreateJoinTableSingerFavSinger < ActiveRecord::Migration[6.1]
  def change
    create_join_table :singer_favs, :singers do |t|
      t.index [:singer_fav_id, :singer_id], unique: true
      t.index [:singer_id, :singer_fav_id], unique: true
    end
  end
end
